package view.components.text 
{
	/**
	 * ...
	 * @author Alejandro
	 */
	
	import flash.text.TextFormat;
	import flash.text.TextFieldType;
	
	public class CompleteText extends AbstractEstructureText {
		
		public function CompleteText(propertysValues_V:Object){
			super(propertysValues_V);
			init();
		}
		
		private function init():void{
			configureFormat();
			configurePosition();
			this.text = textT;
			selectable = false;
		}
		
		public function configurePosition():void{
			this.x = xx;
			this.y = yy;
			this.width = widthX;
			this.height = heightY;
		}
		
		public function configureFormat():void {
			if (this.background = backgroundT) {
				this.backgroundColor = backgroundColorT;
			}			
			var format:TextFormat = new TextFormat();
			format.font = font;
			format.color = color;
			format.size = size;
			format.underline = underline;
			this.defaultTextFormat = format;
		}
	}
}